﻿<UserControl x:Class="XMLViewer.Page"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:XMLViewer="clr-namespace:XMLViewer">

    <Grid Background="Transparent">
        <Grid.RowDefinitions>
            <RowDefinition Height="50"/>
            <RowDefinition />
        </Grid.RowDefinitions>

        <StackPanel Name="DisplayPanel" Grid.Row="0" HorizontalAlignment="Center" >
            <Button Width="100" Height="30" Name="Load" Content="Load" Margin="10" Click="LoadBtn_Click"/>
        </StackPanel>

        <XMLViewer:XmlNodeDisplay Name="RootNode" Grid.Row="1" Visibility="Collapsed"/>

    </Grid>



</UserControl>
